# 文件名：split_ttc.py
from fontTools.ttLib import TTCollection

collection = TTCollection("/Users/weiyin/Workspaces/TypusMotrix/data/raw_fonts/SourceHanSans-VF.ttf.ttc")
for i, font in enumerate(collection.fonts):
    font.save(f"SourceHanSans-VF_{i}.ttf")
